<h1>Add a new course</h1>

<% form_for course, :url => {:controller => "courses", :action => "create" } do |f| %>
  <%= f.error_messages %>
  <%= f.hidden_field :semester_id %>
  <%= f.hidden_field :term %>
  
  <p>
    <b>Course Name:</b><br />
    <%= f.text_field :name %> ex: cmsc132
  </p>
  <p>
	<b>Number of TA's required:</b><br />
    <%= f.text_field :required_ta %> (+10 for full-time, +5 for part-time)
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>

